package com.leco.demo;

import com.leco.spring.ApplicationContext;

/**
 * @author greg
 * @version 2022/10/12
 **/
public class DemoApp {
    public static void main(String[] args) {
        ApplicationContext context = new ApplicationContext(AppConfig.class);
        OrderService orderService = (OrderService) context.getBean("orderService");
        orderService.test();
    }
}
